﻿using System.Collections.ObjectModel;
using Entities;

namespace DataAccess
{
    public interface IProgrammeDataAccess
    {
        /// <summary>
        /// Inserts the specified programme.
        /// </summary>
        /// <param name="programme">The programme.</param>
        /// <returns></returns>
        int Insert(Programme programme);
        /// <summary>
        /// Updates the specified programme.
        /// </summary>
        /// <param name="programme">The programme.</param>
        /// <returns></returns>
        int Update(Programme programme);
        /// <summary>
        /// Gets the programme by id.
        /// </summary>
        /// <param name="programmeId">The programme id.</param>
        /// <returns></returns>
        Programme GetProgrammeById(string programmeId);

        /// <summary>
        /// Shows the list programme.
        /// </summary>
        /// <param name="active">if set to <c>true</c> [active].</param>
        /// <returns></returns>
        Collection<Programme> ShowListProgramme(bool active);
    }
}
